package com.ctgu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author ALEX
 * @since 2022/9/11 19:09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SchoolEntity {
    private Integer schId;

    private String name;

    private List<StudentEntity> students;   //一对多
}